package com.zhg.javakc.modules.relation.entity;

import com.zhg.javakc.base.entity.BaseEntity;
import com.zhg.javakc.modules.group.tree.entity.GroupEntity;
import com.zhg.javakc.modules.materials.entity.MaterialsEntity;
import com.zhg.javakc.modules.supplier.entity.SupplierEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Getter
@Setter
@ToString
public class RelationEntity extends BaseEntity<RelationEntity> {
    /**
     * 供应商物资关系id
     */
    private String relationId;
    /**
     * 供应商id
     */
    private String supplierId;
    /**
     * 物资id
     */
    private String gamId;
    /**
     * 税率
     */
    private String gamShuilv;
    /**
     * 央厨收货组织
     */
    private String supplierYangChu;
    /**
     * 多个供应商
     */
    private List<SupplierEntity> suppliers;
    /**
     * 多个物资
     */
    private List<MaterialsEntity> gams;
    /**
     * 组织
     */
    private GroupEntity groups;
}
